/**
 * Wihidum - Efficient Broker Hierarchy for Publish Subscribe Middleware
 *
 * License      :   Apache License 2.0
 * Home Page    :   http://code.google.com/p/wihidum/
 * Mailing List :   wihidum@googlegroups.com
 */

package lk.mrt.cse.wihidum.util;

/**
 * Constants used with WS-Eventing
 */
public interface WSEventingConstants
{   //WSEventing Namespace
    String EVENTING_NAMESPACE = "http://schemas.xmlsoap.org/ws/2004/08/eventing";
    String EVENTING_PREFIX = "wse";
    //Addressing namespace is also used in messages passed in WSEventing
    String ADDRESSING_NAMESPACE="http://schemas.xmlsoap.org/ws/2004/08/addressing";
    String ADDRESSING_PREFIX="wsa";
    //the soap header in the subscription request uses following addressing namespace    
    String HEADER_ADDRESSING_NAMESPACE="http://www.w3.org/2005/08/addressing";
    //Wihidum Namespace is used to identify Subscription ID as the reference propoerty
    String WIHIDUM_NAMESPACE="Wihidum_Reference_Propoerties";
    String WHIDUM_NAMESPACE_PREFIX="wrp";
    
    //identifier to be used in the subsription response messages in Subscription Manager element
    String identifier="f30704d2-25b2-48c7-a924-0c28f685a2d8";

    /**
     * Element names used in WS-Eventing
     */
    interface ElementNames
    {
        String Action="Action";
        String MessageID="MessageID";
        String ReplyTo="ReplyTo";
        String Subscribe = "Subscribe";
        String EndTo = "EndTo";
        String Delivery = "Delivery";
        String Mode = "Mode";
        String NotifyTo = "NotifyTo";
        String Address="Address";
        String ReferenceProperties="ReferenceProperties";
        String ReferenceParameters="ReferenceParameters";
        String SubscriptionID="SubscriptionID";
        String Expires = "Expires";
        String Filter = "Filter";
        String Dialect = "Dialect";
        String SubscribeResponse = "SubscribeResponse";
        String SubscriptionManager = "SubscriptionManager";
        String Renew = "Renew";
        String RenewResponse = "RenewResponse";
        String Identifier = "Identifier";
        String Unsubscribe = "Unsubscribe";
        String GetStatus = "GetStatus";
        String GetStatusResponse = "GetStatusResponse";
        String Topic = "topic";
        String GetBroker="GetBroker";
        String GetBrokerResponse="GetBrokerResponse";
        String Broker="Broker";
        String BrokerList="BrokerList";
        String Update_Client="UpdateClient";
    }
}
